package function.client;

import lombok.Data;

/**
 * @author G_Y, 2022/3/29 17:09
 **/
@Data
public class RpcResult<T> {

    T data;

    private boolean isOk;

    public boolean isFailed() {
        return !isOk;
    }

    public boolean isOk() {
        return isOk;
    }


}
